<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <Navbar></Navbar>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <SiderBar></SiderBar>
        </el-aside>
        <el-main>
          <RouterView></RouterView>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
import SiderBar from './SiderBar.vue';
import Navbar from './Navbar.vue';
</script>
<style scroed>
.el-header {
  padding: 0;
}

.el-aside {
  box-shadow: 0 5px 10px 1px rgba(0, 0, 0, 0.416);
  min-height: calc(100vh - 60px);
  background-color: #545c64
}
</style>